package org.abettor.util.upnp;

import java.util.Date;

import net.sbbi.upnp.impls.InternetGatewayDevice;

/**
 * NAT映射信息对象
 * @author <a href="http://www.abettor.org/" target="_blank">abettor</a>
 *
 */
public class NatInfo
{
	private InternetGatewayDevice device;
	private String description;
	private String remoteHost;
	private int internalPort;
	private int externalPort;
	private String internalClient;
	private int leaseDuration;
	private String protocol;
	private Date startTime;

	public int getInternalPort()
	{
		return internalPort;
	}

	public InternetGatewayDevice getDevice()
	{
		return device;
	}

	public void setDevice(InternetGatewayDevice device)
	{
		this.device = device;
	}

	public int getExternalPort()
	{
		return externalPort;
	}

	public void setExternalPort(int externalPort)
	{
		this.externalPort = externalPort;
	}

	public String getInternalClient()
	{
		return internalClient;
	}

	public void setInternalClient(String internalClient)
	{
		this.internalClient = internalClient;
	}

	public int getLeaseDuration()
	{
		return leaseDuration;
	}

	public void setLeaseDuration(int leaseDuration)
	{
		this.leaseDuration = leaseDuration;
	}

	public String getProtocol()
	{
		return protocol;
	}

	public void setProtocol(String protocol)
	{
		this.protocol = protocol;
	}

	public String getRemoteHost()
	{
		return remoteHost;
	}

	public void setRemoteHost(String remoteHost)
	{
		this.remoteHost = remoteHost;
	}

	public void setInternalPort(int internalPort)
	{
		this.internalPort = internalPort;
	}

	public String getDescription()
	{
		return description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public Date getStartTime()
	{
		return startTime;
	}

	public void setStartTime(Date startTime)
	{
		this.startTime = startTime;
	}
}
